$felx:("center":center,
    "between":space-between,
    "end":flex-end,
    "start":flex-start,
    "around":space-around,
);
$margin:('10':10px, '12':12px, '18':18px, '20':20px, '28':28px, '30':30px);
$text:(left, center, right);
$size:('12':12px, '14':14px, '15':15px, '16':16px, '17':17px, '18':18px, '20':20px, '22':22px, '24':24px, '28':28px, '32':32px);
$color:('p':#4894ff, "s":#67c23a, "w":#eaa33a, "e":#f56c6b, "m":#303133, "n":#606266, "c":#909399);

@each $key,
$val in $felx {
    .flex-#{$key} {
        justify-content: $val;
        align-items: center;
        display: flex;
    }

    .jus-#{$key} {
        justify-content: $val;
        display: flex;
    }

    .align-#{$key} {
        justify-content: $val;
        flex-direction: column;
        align-items: center;
        display: flex;
    }
}

@each $key,
$val in $size {
    .s-#{$key} {
        font-size: $val;
    }
}

@each $key,
$val in $margin {
    .margin-l-#{$val} {
        margin-left: $val;
    }

    .margin-r-#{$val} {
        margin-right: $val;
    }

    .margin-t-#{$key} {
        margin-top: $val;
    }

    .margin-b-#{$val} {
        margin-bottom: $val;
    }

    .padding-l-#{$val} {
        padding-left: $val;
    }

    .padding-r-#{$val} {
        padding-right: $val;
    }

    .padding-t-#{$val} {
        padding-top: $val;
    }

    .padding-b-#{$val} {
        margin-bottom: $val;
    }

}

.pointer {
    cursor: pointer;
}


div,
span,
li,
input,
td,
tr,
p,
button {
    font-family: 'Microsoft Yahei', Arial, Helvetica, 'sans-serif';
}

*::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    /*height: 4px;*/
}

*::-webkit-scrollbar-thumb {
    border-radius: 10px;
    width: 4px;
    //-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background: rgba(171, 178, 185, 0.9);
}

*::-webkit-scrollbar-track {
    //-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background: transparent;

}


* {
    box-sizing: border-box;
}

.set-min-width {
    min-width: 100px !important;
    text-align: center;
}